package cn.itlaobing.eshopmanagement.service;

import java.util.List;
import java.util.Map;

import cn.itlaobing.eshopmanagement.entity.SystemAccount;

public interface SystemAccountService {
	/**
	 * 查询所有，可带条件
	 * @param map
	 * @return
	 */
	public List<SystemAccount> findAll(Map<String, String> map);
	/**
	 * 通过用户名查询
	 * @param account
	 * @return
	 */
	public SystemAccount selectByPrimaryAccount(String account);
	
	/**
	 * 通过id查询
	 * @param id
	 * @return
	 */
	public SystemAccount selectByPrimaryKey(Long id);
	/**
	 * 更新
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKeySelective(SystemAccount record);
}
